package javaother.prog3;

/**
 * Author: Maciek
 */
public class MetodyObliczeniowe {
    public static void main(String[] args){
        int x = 8;
        int y = 4;

        System.out.println("x = " + x );
        System.out.println("y = " + y );

        int suma = x + y;
        int roznica = x - y;
        int iloczyn = x * y;
        int iloraz = x / y;

        System.out.println("Suma wynosi " + suma);
        System.out.println("Roznica wynosi " + roznica);
        System.out.println("Iloczyn wynosi " + iloczyn);
        System.out.println("Iloraz wynosi " + iloraz);
    }

}
